package com.leyou.item.service;

import com.leyou.item.pojo.SpecGroup;
import com.leyou.item.pojo.SpecParam;

import java.util.List;

public interface SpecificationService {
    List<SpecGroup> queryGroupByCid(Long cid);

    void saveGroup(SpecGroup specGroup);

    void updateGroup(SpecGroup specGroup);

    void deleteGroup(Long id);

    List<SpecParam> queryParamByGroupId(Long gid);

    void saveSpecParam(SpecParam specParam);

    void updateSpecParam(SpecParam specParam);

    void deleteSpecParamById(Long id);

    List<SpecParam> queryParamList(Long gid, Long cid, Boolean searching);

     List<SpecGroup> queryListByCid(Long cid);

}
